/* 登录和用户的接口统一管理 */
import request from '../utils/request'

// 导出订单列表页
export function orderList(params) {
  return request.get('/order/list', params)
}

// 导出查询订单页
export function orderSearch(params) {
  return request.get('/order/search', params)
}

// 获取订单详情
export function detail(params) {
  return request.get('/order/detail', params)
}
// 导出修改订单
export function orderEdit(params) {
  return request.post('/order/edit', params)
}

// 导出获取订单数据
export function orderEcharts(params) {
  return request.get('/order/ordertotal', params)
}
